package com.tqy.docms.bean;

import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Properties;

public class BaseStatic {
	
	public static final int SUCCESS_CODE = 1;
	public static final int ERROR_CODE = 0;
	
	
    //加载配置文件
    private static Properties prop = new Properties();

    static {
        try {
            prop.load(new InputStreamReader(BaseStatic.class.getClassLoader().getResourceAsStream("path.properties"), "UTF-8"));

        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
